package com.orange.handler.expert;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.orange.dbhelp.page.Page;
import com.orange.modules.entity.expert.AuthExpertAdvice;

public interface AuthExpertAdviceService {

	/**
	 * 保存专家建议
	 */
	public void saveAuthExpertAdvice(AuthExpertAdvice a);
	
	/**
	 * 查询专家建议(根据专家id和组id)
	 * @throws SQLException 
	 */
	public List<AuthExpertAdvice> queryAuthExpertAdviceByExpertIdAndGroupId(String expertId, String groupId) throws SQLException;
	
	/**
	 *  查询专家建议(根据pid)
	 */
	public List<AuthExpertAdvice> queryAuthExpertAdviceById(String pid) throws SQLException;
	
	/**
	 * 分页查询专家建议
	 * @throws SQLException 
	 * @throws NumberFormatException 
	 */
	public Page<AuthExpertAdvice> queryAuthExpertAdviceByPage(Map<String, String> map) throws SQLException;
}
